home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
401-425
/
disk_414
/
pplib
/
readme
< prev
next >
Wrap
Text File
|
1992-05-06
|
3KB
|
85 lines
**********************************
powerpacker.library V34.2
Release 1.1a
(c) Oct 1990 Nico François
**********************************
First of all read the DISTRIBUTION file for information on... euh well...
distribution :-)
Several people suggested the development of a library to help programs
decrunch files crunched with PowerPacker, and that is exactly what this is.
This library tries to make it very easy to support PowerPacked files. It
is a standard Amiga shared, runtime library and is called exactly like all
the other Amiga libraries. Using this library it will be a lot simpler to make
your program 'PowerPacker compatible' than with the previously distributed
decrunch source.
To install powerpacker.library copy it to your LIBS: directory by hand,
or run the installation script 'Install' (by using 'Execute' or by double-
clicking its icon).
Using powerpacker.library
-------------------------
If you are a C programmer all you need to do is include the correct
headers and open powerpacker.library. After that you can use the functions in
the library as if they were C functions. If your program quits it must of
course close the library again. See 'example.c' for a very simple example.
If you are using Lattice C 5.0 and you don't want to use pragmas, or if
you are using version 4.0 or lower, you must define NO_PRAGMAS before
including 'proto/powerpacker.h' and link with ppSCglue.o (small code) or
ppLCglue.o (large code).
Programmers that use Manx C can use 'Bind' to generate the glue routines
they need (or if they are using 5.0 they can of course use pragmas for in-line
library calls).
Assembly programmers should also include the correct files and open
powerpacker.library. To call a function they must load A6 with the library
base, put the arguments in the appropriate registers and jump to the library
vector offset of the function they want to call. See 'example.asm' for a very
simple example.
All library functions are explained in the file 'pplib.doc'.
Enjoy.
LIBRARY HISTORY:
*****************************************************************************
RELEASE 1.0 (Library Version 33.1)
First release.
*****************************************************************************
RELEASE 1.1 (Library Version 34.1)
Added 'ppOverlayDecrHdr' for use of library from overlay decrunch header.
Requesters now have depth and close gadgets.
Faster decrunching in 'pp...DecrHdr' code.
*****************************************************************************
RELEASE 1.1a (Library Version 34.2)
Bug fixed: A6 was not preserved in ppLoadData!
*****************************************************************************
powerpacker.library written by Nico François (Yes, Nico is my first name :-)
thanks to Moroder Andreas for the useful suggestions.
(c) 1990 Nico François / PowerPeak
//
Thanks to \X/ Amiga for being the best computer ever !